Use LUA for interaction in C ++, LUA for closure, C ++ for LUA for mutual closure, and lua for Interaction
LUA can be described as a configuration file artifact. It is known only when the specific functions are used. It has not been used for two hours in the last two years a
Lua programming: Interaction Between lua and C, and lua Programming
Lua is a language with excellent scalability. Although its core is very simple, you can rely on the lua library for most of the work. In addition, lua can also ex
Reading books together-reading books in PHP and reading books in php
We had to learn about android, and PHP started to read books. Two 500 + books, 45 days not enough, a little busy...
The bloat in the morning is just a music stick. Keep a long memory ........
1. PHP + MY
You can debug the Lua plug-in on vs, that is, vslua. Vslua can not only debug independent Lua scripts, but also debug Lua functions called in C ++, such as luabind and luaplus. You only need to set the vslua compiler to a DLL with the Lua export symbol, you can use this DLL for debugging
Introduction to LUA values and types in LUA 5.1 Reference Manual. Lua is a dynamic language, where variables have only values and no types in Lua. So variables in Lua do not need to be declared. So the value itself contains the type.In fact,
Summary:In server development using C + +, scripting techniques are often used, and Lua is one of the best embedded scripts. The lightweight, compact and simple concept of Lua makes him more and more popular. I have also used Python to do embedded script, both have characteristics, about Python will write related articles, Python for me more like to write tools, my front some of the relevant algorithms are
[Unity3D] Lua in Unity3D game development is connected to the game's (medium) and unity3dlua
Certificate -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you like my blog, please remember my name: Qin Yuanpei. My blog address is blog.csdn.net/qinyuanpei.
Reprinted please indicate the source, Author: Qin Yuanpei,
This site's article is originally written by Li huaming himi. The reposted article must be clearly stated: (Author: Sina Weibo: @ Li huaming himi)Reproduced from [Black Rice gamedev block] original link: http://www.himigame.com/lua1/1282.html☞Click to subscribe☜The latest developments in this blog! Notify you of the latest blog in time!
In the previous article, I introduced the tutorials on How to customize the class binding to Lua,
Lua learning Note 3 Android calls Lua. The Lua script calls back Java using loadlib and transmits multiple parameters.
Multiple parameters can be received in Java and each parameter is displayed.
The method for loading the Lua script in Android is not the focus of this article. You can refer to the notes in front of t
Lua is a configuration file artifact, specific features used to know, nearly two years useless smoked two hours familiar with the next basic usage.Includes C/lua stack operation function calls to each other and LUA closures for C + + and LUA closuresTo be flexible with LUA,
Lua Study Notes 11: Tips in lua, lua Study Notes
The tips in lua are the special features of the basic lua language.
Clever Use or
x = x or v
It is equivalent:
if not x then x = vend
If x is nil or false, assign it a value
Binary ternary operator implementation
a
Lua learning notes: 2 Android calls Lua. Add a button in the Lua script and add a listener to the button.
Calls in Android
Try {mluastate. ldostring (readstream (getresources (). openrawresource (R. raw. test); // find the functioninluafile function mluastate. getfield (luastate. lua_globalsindex, "addbutton"); mluastate. pushjavaobject (getapplicationcontext (
Lua learning Note 3 android calls Lua. The Lua script calls back Java using LoadLib and transmits multiple parameters.
Multiple parameters can be received in Java and each parameter is displayed.
The method for loading the Lua script in android is not the focus of this article. You can refer to the notes in front of th
MoonWarriors-lua-game of lightning fighters-Lua transplanted version and luaMoonWarriors is a game Demo similar to lightning fighters developed using Cocos2d-Html5 engines, the source code is published in the engine example on the Cocos2d-x official website. MoonWarriors-lua is a Cocos2d-x version ported to learn about Quick-Cocos2d-x
[Unity3D] Lua of Unity3D game development and unity3dlua
Certificate -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you like my blog, please remember my name: Qin Yuanpei. My blog address is blog.csdn.net/qinyuanpei.
Reprinted please indicate the source, Author: Qin Yuanpei, the source of this article: http://b
Mir9-lua -- 45 degrees of ARPG mobile game "hot blood Sand City"-Lua transplant version, "hot blood Sand City"-luaMir9 -- "hot blood Sand City", is 9 seconds forum open source a use of Cocos2d-x-2.2.1 engine developed 45 degree ARPG mobile game Demo, source code is c ++. Mir9-lua is the Lua porting version of mir9, dev
MoonWarriors-lua-game of lightning fighters-Lua transplanted version and lua
MoonWarriors is a game Demo similar to lightning fighters developed using Cocos2d-Html5 engines, the source code is published in the engine example on the Cocos2d-x official website. MoonWarriors-lua is a Cocos2d-x version ported to learn abo
Opening part-Environment hypothesis
By: HengStar (Xin Heng)
Address: http://blog.csdn.net/gongxinheng/archive/2009/07/25/4380526.aspx
(Although I am not good at writing or having a high level, it is not easy to write an article and share some small achievements with you ~ For this reason, please indicate the source of the reprinted content: Thank you for your cooperation. ^_^ by the way, you can make a small advertisement. Hey hey, if you are interested in communication, you can add the QQ group
IntroductionCity Wizard Go (http://csjl.teamtop3.com/) is a cocos2d-x-based lbs social game, through the exploration of real maps, discovering and capturing hidden wild Elves, using the game's rich gameplay to enhance and evolve their own elves team, Step by step to become an elf trainer.The game has been developed in a mix of C + + and LUA programming, with the advantages of high-performance, cross-platform system compatibility for C + +, and Lua's a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.